package com.tuananh.radnom.service.config;

import java.util.ArrayList;

import com.tuananh.radnom.model.*;
public interface INetNodeService extends IConfigService {
	public boolean add(NetNode netNode);
	public boolean update(NetNode netNode);
	public boolean remove(String name);
	public ArrayList<NetNode> getAll();
	
	public NetNode getByName(String name);
	//Find by NetInterface name
	public NetNode findByIntName(String name);
	public ArrayList<NetNode> findByIntName(ArrayList<String> names);
	public NetNode findyByIntIp(String ip);
	public boolean merge(NetNode first,NetNode second);
}
